﻿<%@ Page Language="C#" MasterPageFile="~/Admin/doanhnghiep.master" AutoEventWireup="true" CodeFile="D_Themsanphamt.aspx.cs" Inherits="Admin_D_Themsanphamt" Title="Untitled Page" %>

<%@ Register Assembly="FreeTextBox" Namespace="FreeTextBoxControls" TagPrefix="FTB" %>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder2" Runat="Server">
<b class="fontmenu">Menu</b>
            <hr style="size:1px; width:80%"/>
     
        <ul>
        <li><a href="Danhsachsanpham.aspx" shape="default" class="fontlink1">Danh sách sản phẩm</a></li><li><a href="Themsanpham.aspx" class="fontlink1">Thêm mới sản phẩm</a></li></ul> 
        <hr style="size:1px; width:80%"/>
    <ul>
   <li><a href="DanhsachDoanhnghiep.aspx" class="fontlink1">Doanh nghiệp</a></li><li><a href="ThemDoanhnghiep.aspx" class="fontlink1">Thêm mới doanh ngiệp</a></li></ul>
    <hr style="size:1px; width:80%"/>
    <ul>
   <li><a href="danhsachdanhmuc.aspx" class="fontlink1">Danh mục</a></li><li><a href="ThemDanhmuc.aspx" class="fontlink1">Thêm mới danh mục</a></li> </ul>
<hr style="size:1px; width:80%"/>
<ul>
   <li><a href="Khuvuc.aspx" class="fontlink1">Khu vực</a></li></ul>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
<div style="padding:12px 12px 12px 12px;">
<div>
        <div style="color:Purple">
           <h1><i>Thêm sản phẩm</i></h1> 
        </div>                  
        <div>
          <table width="100%" cellspacing="0" cellpadding="3" border="1" style="color:Maroon" > 
                 
                 <tr>
                    <td class="fontht3" style="width: 25%; height: 65px;">Tên sản phẩm</td>
                    <td style="height: 65px">
                        <asp:TextBox ID="txttensp" runat="server" TextMode="MultiLine" Height="40px" Width="224px"></asp:TextBox>
                    </td>
                </tr> 
               <%-- <tr>
                    <td class="fontht3" style="width: 25%">Tên doanh nghiệp</td>
                    <td>
                        <asp:DropDownList ID="dr_tendn" runat="server">
                        </asp:DropDownList>                  
                     </td>   
                </tr>  --%>
                  
                <tr>
                    <td class="fontht3" style="width: 25%">Danh mục</td>
                    <td>
                        <asp:DropDownList ID="dr_tendm" runat="server">
                        </asp:DropDownList> 
                    </td>
                </tr>  
                  <tr>
                    <td class="fontht3" style=" width: 25%;">Khu vực</td>
                    <td >
                       <asp:DropDownList ID="dr_tenkv" runat="server">
                        </asp:DropDownList> 
                    </td>
                </tr>             
                    <tr>
                    <td class="fontht3" style="width: 25%">Tình trạng</td>
                    <td>
                        <asp:DropDownList ID="dr_tt" runat="server">
                        </asp:DropDownList>  
                    </td>
                </tr>  
                   <tr>
                    <td class="fontht3" style=" width: 25%;">Giá gốc</td>
                    <td>
                        <asp:TextBox ID="txt_ggoc" runat="server"></asp:TextBox>  
                    </td>
                </tr>   
                <tr>
                    <td class="fontht3" style="width: 25%">Giá bán</td>
                    <td>
                         <asp:TextBox ID="txt_gban" runat="server"></asp:TextBox>   
                    </td>
                </tr> 
                 <tr>
                    <td class="fontht3" style="width: 25%">Tỉ lệ chiết khấu</td>
                    <td>
                        <asp:TextBox ID="txt_tlck" runat="server" Columns="5"></asp:TextBox>(%)</td>
                </tr> 
                 <tr>
                    <td class="fontht3" style="width: 25%">Số lượng</td>
                    <td>
                        <asp:TextBox ID="txt_sluong" runat="server"></asp:TextBox>   
                    </td>
                </tr> 
                 <tr>
                    <td class="fontht3" style="width: 25%">Số lượng bán</td>
                    <td>
                        <asp:TextBox ID="txt_slb" runat="server"></asp:TextBox>   
                    </td>
                </tr> 
                <tr>
                    <td class="fontht3" style="width: 25%; height: 30px;">Bản đồ</td>
                    <td style="height: 30px">
                        <asp:FileUpload ID="img_bdo" runat="server" />
                    </td>
                </tr>  
                 <tr>
                    <td class="fontht3" style="width: 25%">Hình minh họa</td>
                    <td>
                        &nbsp;<asp:FileUpload ID="img_sp" runat="server" /></td>
                </tr> 
                  <tr>
                    <td class="fontht3" style="width: 25%" valign="top">Mô tả</td>
                    <td>
                        <%--<FTB:FreeTextBox ID="txt_mota" runat="server">
                        </FTB:FreeTextBox>--%>
                        <asp:TextBox ID="txt_mota" runat="server" TextMode="multiLine"></asp:TextBox>
                        </td>
                </tr>
                <tr>
                
                    <td class="fontht3" style="width: 25%" valign="top">Điều kiện</td>
                    <td>
                        <asp:TextBox ID="txt_dk" runat="server" TextMode="MultiLine"></asp:TextBox></td>
                </tr> 
               
                  <tr>
                    <td class="fontht3" style="width: 25%">Thời gian bắt đầu</td>
                    <td>
                        <asp:TextBox ID="tg_bd" runat="server"></asp:TextBox></td>
                </tr>   
                <tr>
                    <td class="fontht3" style="width: 25%">Thời gian kết thúc</td>
                    <td><asp:TextBox ID="tg_kt" runat="server"></asp:TextBox></td>
                </tr> 
                <tr>
                    <td class="fontht3" style="width: 25%">Hạn sử dụng</td>
                    <td><asp:TextBox ID="txt_hsd" runat="server"></asp:TextBox></td>
                </tr> 
                 <tr>
                    <td class="fontht3" style="width: 25%">Lí do</td>
                    <td><asp:TextBox ID="txt_ld" runat="server"></asp:TextBox></td>
                </tr> 
                <tr style="background-color:Teal">
                <td colspan="2" align="center">
                    <asp:Button ID="Button1" runat="server" Text="Thêm sản phẩm" Font-Bold="true" ForeColor="Blue" Font-Size="Medium" OnClick="Button1_Click" /></td>
                </tr>   
            </table>
        </div>
 </div>
 </div>
</asp:Content>

